package controllers

func GetErrorMessage(message string) (mes map[string]string) {
	mes = map[string]string{"MESSAGE": message, "CODE": "error"}
	return mes
}

func GetSuccessData(data interface{}) interface{} {
	da := map[string]interface{}{
		"code": "ok",
		"data": data,
	}
	return da

}
